﻿using ReferToFriend.Dapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ReferToFriend.Reponsitory
{
    public class SqlRepository
    {
        private IReferFriendReponsitory _repository = new ReferFriendReponsitory();

        public bool AddRecord(ReferFriend record)
        {
            return _repository.AddRecord(record);
        }
        public List<ReferFriend> GetAll()
        {
            return _repository.GetAll();
        }
    }
}